<?php
		require(dirname(dirname(dirname(dirname(dirname(__FILE__)))))."/app/include/dbbackup/inc/header.php");
	ExcuteSQL("DROP TABLE IF EXISTS `phpyun_redeem_class`;");
CreateTable("CREATE TABLE `phpyun_redeem_class` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `keyid` int(11) NOT NULL,
  `name` varchar(50) NOT NULL,
  `sort` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=140 DEFAULT CHARSET=utf8");
ExcuteSQL("insert into `phpyun_redeem_class` values('98','0','购物卡','1');");
ExcuteSQL("insert into `phpyun_redeem_class` values('130','0','手机充值','0');");
ExcuteSQL("insert into `phpyun_redeem_class` values('129','0','时尚数码','0');");
ExcuteSQL("insert into `phpyun_redeem_class` values('128','0','生活家具','0');");
ExcuteSQL("insert into `phpyun_redeem_class` values('112','0','办公用品','0');");
ExcuteSQL("insert into `phpyun_redeem_class` values('106','0','车载玩具','3');");
ExcuteSQL("insert into `phpyun_redeem_class` values('131','0','母婴用品','0');");
ExcuteSQL("insert into `phpyun_redeem_class` values('132','0','电子产品','0');");
ExcuteSQL("insert into `phpyun_redeem_class` values('133','0','大家电','0');");
ExcuteSQL("insert into `phpyun_redeem_class` values('134','0','小家电','0');");
ExcuteSQL("insert into `phpyun_redeem_class` values('135','0','五金产品','0');");
ExcuteSQL("insert into `phpyun_redeem_class` values('136','0','机械制品','0');");
ExcuteSQL("insert into `phpyun_redeem_class` values('137','0','塑料制品','0');");
ExcuteSQL("insert into `phpyun_redeem_class` values('138','0','办公文具','0');");
ExcuteSQL("insert into `phpyun_redeem_class` values('139','0','手机电脑','0');");

		require(dirname(dirname(dirname(dirname(dirname(__FILE__)))))."/app/include/dbbackup/inc/footer.php");
	?>